<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>WLog: WLog::XmlOuter类参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- 制作者 Doxygen 1.5.8 -->
<script type="text/javascript">
<!--
function changeDisplayState (e){
  var num=this.id.replace(/[^[0-9]/g,'');
  var button=this.firstChild;
  var sectionDiv=document.getElementById('dynsection'+num);
  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
    sectionDiv.style.display='block';
    button.src='open.gif';
  }else{
    sectionDiv.style.display='none';
    button.src='closed.gif';
  }
}
function initDynSections(){
  var divs=document.getElementsByTagName('div');
  var sectionCounter=1;
  for(var i=0;i<divs.length-1;i++){
    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
      var header=divs[i];
      var section=divs[i+1];
      var button=header.firstChild;
      if (button!='IMG'){
        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
        button=document.createElement('img');
        divs[i].insertBefore(button,divs[i].firstChild);
      }
      header.style.cursor='pointer';
      header.onclick=changeDisplayState;
      header.id='dynheader'+sectionCounter;
      button.src='closed.gif';
      section.id='dynsection'+sectionCounter;
      section.style.display='none';
      section.style.marginLeft='14px';
      sectionCounter++;
    }
  }
}
window.onload = initDynSections;
-->
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>名字空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>组合类型列表</span></a></li>
      <li><a href="classes.html"><span>组合类型索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>组合类型成员</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceWLog.html">WLog</a>::<a class="el" href="classWLog_1_1XmlOuter.html">XmlOuter</a>
  </div>
</div>
<div class="contents">
<h1>WLog::XmlOuter类参考</h1><!-- doxytag: class="WLog::XmlOuter" --><!-- doxytag: inherits="WLog::IOuter" -->对IOuter实现xml格式输出  
<a href="#_details">更多...</a>
<p>
<code>#include &lt;<a class="el" href="XmlOuter_8h-source.html">XmlOuter.h</a>&gt;</code>
<p>
继承自<a class="el" href="classWLog_1_1IOuter.html">WLog::IOuter</a>。
<p>
<div class="dynheader">
WLog::XmlOuter合作图：</div>
<div class="dynsection">
<p><center><img src="classWLog_1_1XmlOuter__coll__graph.png" border="0" usemap="#WLog_1_1XmlOuter__coll__map" alt="Collaboration graph"></center>
<map name="WLog_1_1XmlOuter__coll__map">
<area shape="rect" id="node2" href="classWLog_1_1IOuter.html" title="Interface for output Record with define Log Level." alt="" coords="5,6,147,183"></map>
<center><font size="2">[<a href="graph_legend.html">图例</a>]</font></center></div>

<p>
<a href="classWLog_1_1XmlOuter-members.html">所有成员的列表。</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>公有成员</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1XmlOuter.html#599f7b0d650781bc2e3aff560db0a236">XmlOuter</a> (ostream &amp;out, const char *szEncode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1XmlOuter.html#90404a79802c009a16bcf1fa4fb0ec98">~XmlOuter</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1XmlOuter.html#8da830dd28b2e209b207dbe366f946ba">noticeParpareOut</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">通知Outer准备要输出了, 做一些事前的工作，如XML可以在这里输出其申明。  <a href="#8da830dd28b2e209b207dbe366f946ba"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1XmlOuter.html#f900b7a0f69de8a3d08ca40b7043c7c7">noticeEndOut</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">通知结束输出，做一些输出事后工作，如XML可以在这里输出根结点的结尾。  <a href="#f900b7a0f69de8a3d08ca40b7043c7c7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1XmlOuter.html#44bc2cb7e627fad755175ffd1a5f608b">outRecord</a> (<a class="el" href="classWLog_1_1Record.html">Record</a> *pRecord, <a class="el" href="classWLog_1_1ILevel.html">ILevel</a> *pLevel)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">输出Record记录与Record对应的Level.  <a href="#44bc2cb7e627fad755175ffd1a5f608b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1XmlOuter.html#7a8c4c8fe086ddd6b3432763f1f11d6b">out</a> (string strOut)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">输出strOutLevel.  <a href="#7a8c4c8fe086ddd6b3432763f1f11d6b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1XmlOuter.html#cf344873172b152c53c41c67d9772d7f">outendl</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">输出换行符.  <a href="#cf344873172b152c53c41c67d9772d7f"></a><br></td></tr>
<tr><td colspan="2"><br><h2>保护属性</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1XmlOuter.html#273b855c9c5dd52d4a2d9a2871e3d854">m_out</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1XmlOuter.html#34da0715e59a44c5c8308a55e5adbd4a">strEncode</a></td></tr>

</table>
<hr><a name="_details"></a><h2>详细描述</h2>
对IOuter实现xml格式输出 
<p>在文件<a class="el" href="XmlOuter_8h-source.html">XmlOuter.h</a>第<a class="el" href="XmlOuter_8h-source.html#l00017">17</a>行定义。</p>
<hr><h2>构造及析构函数文档</h2>
<a class="anchor" name="599f7b0d650781bc2e3aff560db0a236"></a><!-- doxytag: member="WLog::XmlOuter::XmlOuter" ref="599f7b0d650781bc2e3aff560db0a236" args="(ostream &amp;out, const char *szEncode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WLog::XmlOuter::XmlOuter           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>szEncode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>在文件<a class="el" href="XmlOuter_8cpp-source.html">XmlOuter.cpp</a>第<a class="el" href="XmlOuter_8cpp-source.html#l00008">8</a>行定义。</p>

</div>
</div><p>
<a class="anchor" name="90404a79802c009a16bcf1fa4fb0ec98"></a><!-- doxytag: member="WLog::XmlOuter::~XmlOuter" ref="90404a79802c009a16bcf1fa4fb0ec98" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WLog::XmlOuter::~XmlOuter           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>在文件<a class="el" href="XmlOuter_8cpp-source.html">XmlOuter.cpp</a>第<a class="el" href="XmlOuter_8cpp-source.html#l00014">14</a>行定义。</p>

</div>
</div><p>
<hr><h2>成员函数文档</h2>
<a class="anchor" name="8da830dd28b2e209b207dbe366f946ba"></a><!-- doxytag: member="WLog::XmlOuter::noticeParpareOut" ref="8da830dd28b2e209b207dbe366f946ba" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void WLog::XmlOuter::noticeParpareOut           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
通知Outer准备要输出了, 做一些事前的工作，如XML可以在这里输出其申明。 
<p>

<p>重载<a class="el" href="classWLog_1_1IOuter.html#365d36c3cebf1dfba571dd7d2a686413">WLog::IOuter</a>。</p>

<p>在文件<a class="el" href="XmlOuter_8cpp-source.html">XmlOuter.cpp</a>第<a class="el" href="XmlOuter_8cpp-source.html#l00019">19</a>行定义。</p>

</div>
</div><p>
<a class="anchor" name="f900b7a0f69de8a3d08ca40b7043c7c7"></a><!-- doxytag: member="WLog::XmlOuter::noticeEndOut" ref="f900b7a0f69de8a3d08ca40b7043c7c7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void WLog::XmlOuter::noticeEndOut           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
通知结束输出，做一些输出事后工作，如XML可以在这里输出根结点的结尾。 
<p>

<p>重载<a class="el" href="classWLog_1_1IOuter.html#7e635ff649baefb3685ca9a7868965b7">WLog::IOuter</a>。</p>

<p>在文件<a class="el" href="XmlOuter_8cpp-source.html">XmlOuter.cpp</a>第<a class="el" href="XmlOuter_8cpp-source.html#l00027">27</a>行定义。</p>

</div>
</div><p>
<a class="anchor" name="44bc2cb7e627fad755175ffd1a5f608b"></a><!-- doxytag: member="WLog::XmlOuter::outRecord" ref="44bc2cb7e627fad755175ffd1a5f608b" args="(Record *pRecord, ILevel *pLevel)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool WLog::XmlOuter::outRecord           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWLog_1_1Record.html">Record</a> *&nbsp;</td>
          <td class="paramname"> <em>pRecord</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classWLog_1_1ILevel.html">ILevel</a> *&nbsp;</td>
          <td class="paramname"> <em>pLevel</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
输出Record记录与Record对应的Level. 
<p>
<dl compact><dt><b>参数:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>pRecord</em>&nbsp;</td><td>需要输出的记录 </td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>pLevel</em>&nbsp;</td><td>本记录对应的输出级别 </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>返回:</b></dt><dd>成功则返回true </dd></dl>

<p>实现了<a class="el" href="classWLog_1_1IOuter.html#ddd90dcabff0d77208866b6dd15fec8c">WLog::IOuter</a>。</p>

<p>在文件<a class="el" href="XmlOuter_8cpp-source.html">XmlOuter.cpp</a>第<a class="el" href="XmlOuter_8cpp-source.html#l00032">32</a>行定义。</p>

</div>
</div><p>
<a class="anchor" name="7a8c4c8fe086ddd6b3432763f1f11d6b"></a><!-- doxytag: member="WLog::XmlOuter::out" ref="7a8c4c8fe086ddd6b3432763f1f11d6b" args="(string strOut)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool WLog::XmlOuter::out           </td>
          <td>(</td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>strOut</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
输出strOutLevel. 
<p>
<dl compact><dt><b>参数:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>strOut</em>&nbsp;</td><td>需要输出的字符串 </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>返回:</b></dt><dd>成功则返回true </dd></dl>

<p>实现了<a class="el" href="classWLog_1_1IOuter.html#3f91ecc04385b4efafb7ca430a86d223">WLog::IOuter</a>。</p>

<p>在文件<a class="el" href="XmlOuter_8cpp-source.html">XmlOuter.cpp</a>第<a class="el" href="XmlOuter_8cpp-source.html#l00073">73</a>行定义。</p>

</div>
</div><p>
<a class="anchor" name="cf344873172b152c53c41c67d9772d7f"></a><!-- doxytag: member="WLog::XmlOuter::outendl" ref="cf344873172b152c53c41c67d9772d7f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool WLog::XmlOuter::outendl           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
输出换行符. 
<p>
<dl class="return" compact><dt><b>返回:</b></dt><dd>成功则返回true </dd></dl>

<p>实现了<a class="el" href="classWLog_1_1IOuter.html#90c6aefd75e204e360245b9c4a14a4e4">WLog::IOuter</a>。</p>

<p>在文件<a class="el" href="XmlOuter_8cpp-source.html">XmlOuter.cpp</a>第<a class="el" href="XmlOuter_8cpp-source.html#l00085">85</a>行定义。</p>

</div>
</div><p>
<hr><h2>成员数据文档</h2>
<a class="anchor" name="273b855c9c5dd52d4a2d9a2871e3d854"></a><!-- doxytag: member="WLog::XmlOuter::m_out" ref="273b855c9c5dd52d4a2d9a2871e3d854" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ostream&amp; <a class="el" href="classWLog_1_1XmlOuter.html#273b855c9c5dd52d4a2d9a2871e3d854">WLog::XmlOuter::m_out</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>在文件<a class="el" href="XmlOuter_8h-source.html">XmlOuter.h</a>第<a class="el" href="XmlOuter_8h-source.html#l00079">79</a>行定义。</p>

</div>
</div><p>
<a class="anchor" name="34da0715e59a44c5c8308a55e5adbd4a"></a><!-- doxytag: member="WLog::XmlOuter::strEncode" ref="34da0715e59a44c5c8308a55e5adbd4a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classWLog_1_1XmlOuter.html#34da0715e59a44c5c8308a55e5adbd4a">WLog::XmlOuter::strEncode</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>在文件<a class="el" href="XmlOuter_8h-source.html">XmlOuter.h</a>第<a class="el" href="XmlOuter_8h-source.html#l00080">80</a>行定义。</p>

</div>
</div><p>
<hr>该类的文档由以下文件生成：<ul>
<li><a class="el" href="XmlOuter_8h-source.html">XmlOuter.h</a><li><a class="el" href="XmlOuter_8cpp-source.html">XmlOuter.cpp</a></ul>
</div>
<hr>
<address style="align: right;">
  Generated on Mon Apr 6 21:09:05 2009 for WLog by 韦体东<img src="logo.png" align="middle"/></address>
</body>
</html>
